@import "reset.scss";

$base-width: 1423px;

// 上方搜索框
.maskwrap{
    width: $base-width;
    height: 0px;
    iframe{
        width: 100%;
        height: 100%;
        border: none;
    }
    position: relative;
    z-index: 20;
}
// 页面整体居中
.wrap{
    width: $base-width;
    margin: 0 auto;
}
// 蒙层部分
.mask{
    background-color: rgba(0,0,0,0.8);
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 15;
    display: none;
    // margin-top: 300px;
}



// 头部轮播图样式
.header {
    // 引入页面头部字体样式
    .headerpage{
        width: 100%;
        height: 100%;
        a{
            color: #fff !important;
        }
        position: absolute;
        left: 0;
        padding: 0;
        z-index: 10;
        iframe{
            width: 100%;
           height: 100%;
           
        }
    }

    width: $base-width;
    height: 1030px;
    // background-color: antiquewhite;
    position: relative;
    overflow: hidden;
    // 引入左边导航
    .left-nav{
        width: 165px;
        background-color: antiquewhite;
        position: absolute;
        left: 0;
        top: 0;
        // height: 300px;
        z-index: 12;
        a{
            color: #fff !important;
        }
        
    }
    .banner{
        position: absolute;
        left: 0;
        top: 0;
        height: 1030px;
        width: 100%;
    }
    //滑动图标
    .huadong {
        width: 60px;
        height: 60px;
        position: absolute;
        top: 65%;
        left: 50%;
        margin-left: -30px;
        z-index: 2;
    }

    // 轮播图ul 
    .swiper {
        width: 3*$base-width;
        height: 1030px;
        position: absolute;
        // 调整ul的left 使得图片滚动
        top: 0;
        left: 0;

        li {
            width: $base-width ;
            height: 100%;
            float: left;

            img {
                width: $base-width;
                height: 100%;
                display: block;
            }
        }
    }
}

// 引入头部样式
.iframeNav {
    width: $base-width;
    height: 1030px;

    iframe {
        width: 100%;
        height: 100%;
    }
}

// 首页图片浮动出现图标
.wrap .viewmore {
    position: absolute;
    width: 150px;
    top: 52%;
    left: 50%;
    margin-left: -75px;
    background-color: #0047bb;
    text-align: center;
    height: 40px;
    line-height: 40px;
    font-size: 12px;
    display: none;
}

// 本周新品
.main-item {
    overflow: hidden;
    width: $base-width;
    // background-color: antiquewhite;
    margin-top: 100px;
    position: relative;

    a {
        color: #fff;

        &:hover {
            .viewmore {
                display: block;
            }
        }
    }

    img {
        width: 100%;
    }

    // 模块小标题
    .item-top {

        h2,
        p {
            text-align: center;
        }

        h2 {
            font-size: 26px;
        }

        p {
            font-size: 20px;
            font-weight: 600;
            padding-top: 5px;
            margin-bottom: 80px;
        }

    }

    // 小模块图片
    .item-img {
        width: 100%;
        margin: 0px 10px;
        overflow: hidden;

        .item {
            position: relative;
            margin: 20px;
            float: left;
            width: 46.5%;

            img {
                width: 100%;
            }
        }
    }

}

// 品味时尚
.main-item.div2 {
    .swpitem {
        padding: 90px 0;
        background-color: #f0eff5;
        .swiper-slide{
            width: 56%;
            .swiper-con{
                width: 100%;
                display: flex;
                align-items: center;
                .left-desc{
                    width: 26%;
                    margin-left: 30px;
                    .desc-con{
                        p{
                            font-size: 14px;
                            height: 30px;
                            line-height: 30px;
                        }
                        h3{
                            font-weight: normal;
                            font-size: 24px;
                            margin-bottom: 30px;
                        }
                        .swip-btn{
                            &:hover{
                                border-color: #0047bb;
                                .a2{
                                    background-color: #0047bb;
                                    color: #fff;
                                    border-color:#0047bb ;
                                }
                            }
                            border: 1px solid #444;
                            width: 146px;
                            cursor: pointer;
                            a{
                                display: block;
                                height: 36px;
                                color: black;
                                font-size: 12px;
                                line-height: 36px;
                                text-align: center;
                                font-weight: 500;
                            }
                            .a2{
                                border-top: 1px solid #444;
                            }
                        }
                    }
                }
                .img-con{
                    width: 65%;
                    img{
                        display: block;
                        width: 90%;
                        // margin: 0 auto;
                    }
                }
            }
        }
        // 导航按钮样式
        .swiper-button-next{
            right: 100px;
            &::after{
                color: #71716f;
            }
            &:hover{
                &::after{
                    color: #0047bb;
                } 
            }
        }
        
    }
}

//发现风格
.main-item.div3 {
    .videoitem {
        width: 96%;
        margin: 0 auto;
        background-color: antiquewhite;
        video{
            width: 100%;
            // height: 300px;
            
        }
    }
}

// 店铺详情
.main-item.div4 {
    padding-bottom: 90px;
    .swiper-container {
        // background-color: antiquewhite;
        width: 100%;
        margin: 0 auto;

        .swiper-wrapper {
            width: 100%;

            .swiper-slide {
                width: 100%;
                padding: 0px 30px;
                box-sizing: border-box;
                img{
                    width: 100%;
                }
            }
        }

    }
}